package csv

class CsvParser {
	

	def pathogen = "pathogen" 
	def bibliography = "bibliography"
	
	CsvParser(String filepath)
	{
		if(filepath.toLowerCase().contains(pathogen))
		{
			CsvParserPathogen pathCsv = new CsvParserPathogen(filepath)
		}
		else if(filepath.toLowerCase().contains(bibliography))
		{
			CsvParserBibliography bibCsv = new CsvParserBibliography(filepath) 
		}
		else
		{
			println("CsvParser : can not detect if file contains pathogen or bibliography data.");
		}
		
	}
	
	

}
